import request from '@/utils/request.js'

//根据用户id获取基金信息
export function listFundsByUserId(userId) {
    return request({
        url: '/api/java/ExperimentFund/listFundsByUserId/' + userId,
        //传递对象类型的参数需加请求头
        method: 'get',
    })
}

export function listFundsSelective(query) {
    return request({
        url: '/api/java/ExperimentFund/listFundsSelective',
        //传递对象类型的参数需加请求头
        method: 'post',
        data: query
    })
}

export function listFundByFundId(query) {
    return request({
        url: '/api/java/ExperimentFund/listFundByFundId',
        //传递对象类型的参数需加请求头
        method: 'post',
        data: query
    })
}
